<!DOCTYPE html>
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/plugins/css/pluginsCss.css' />
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/plugins/plugins.css' />
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/css/luckysheet.css' />
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/assets/iconfont/iconfont.css' />
<script src="https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/plugins/js/plugin.js"></script>
<script src="https://cdn.jsdelivr.net/npm/luckysheet@latest/dist/luckysheet.umd.js"></script>

<div id="luckysheet" style="margin:0px;padding:0px;position:absolute;width:100%;height:100%;left: 0px;top: 0px;"></div>
<script>
    $(function () {
        //配置项
        var options = {
            container: 'luckysheet',
            lang: 'zh',
            gridKey:"1079500#-8803#7c45f52b7d01486d88bc53cb17dcd2c3",
            allowUpdate: true,
            updateUrl: "ws://localhost:9004/luckysheet/websocket/luckysheet",
            loadUrl:"http://localhost:9004/luckysheet/api/load"

        }

        console.log(JSON.stringify(options))
        luckysheet.create(options)
    })
</script>